<template>
	
	<view>
		<view v-for="(subject,index) in subjectList" :key="index">
			<view class="layout">
				<view>
					<view>{{subject.subjectName}}</view>
					<view>
						<view class="layout">
							<view>共{{subject.subjectQuantity}}节</view>
							<view>已完成{{subject.finishNum}}/{{subject.questionNum}}</view>
						</view>
					</view>
				</view>
				<view></view>
			</view>
		</view>
		
	</view>
</template>

<script>
	//章节练习
	export default {
		data() {
			return {
				subjectList:[
					{
						subjectName:"第一章 总论",
						subjectQuantity:12,
						questionNum:12,
						finishNum:0
					},
					{
						subjectName:"第二章 会计基础",
						subjectQuantity:12,
						questionNum:12,
						finishNum:0
					},
					{
						subjectName:"第三章 资产",
						subjectQuantity:12,
						questionNum:12,
						finishNum:0
					},
					{
						subjectName:"第四章 负债",
						subjectQuantity:12,
						questionNum:12,
						finishNum:0
					}
				]
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
